package fileMAX.file00;

import java.io.File;

public class ListFiles {
    public static void main(String[] args) {
        File dir = new File(".");
        File[] subs = dir.listFiles();
        System.out.println(subs.length);
        for (int i=0;i<subs.length;i++){
            File sub = subs[i];
            System.out.println(sub.getName());
        }
    }
}
